package model;

public abstract class Dot implements Edible {
	protected Tile eslabon;
	protected Labyrinth laberinto;
	
	protected Dot(Tile eslabon, Labyrinth laberinto){
		this.eslabon= eslabon;
		eslabon.addComible(this);
		this.laberinto= laberinto;
	}

	public void serComido(){
		this.eslabon.remove(this);
		this.eslabon=null;	
	}
}	

